#include "myThread.hpp"
#include "ThreadPool.hpp"

#include <iostream>
using std::cout;
using std::endl;

namespace tp{

myThread::myThread(ThreadPool & threadpool)
:_threadpool(threadpool){}

void myThread::run(){
    _threadpool.doTask();
}

}


